<?php
	class phieuchi{
		public function add_luonggiangvien($f_hovaten,$f_diengiai,$f_sotien,$f_ngay)
		{	
			$sql = "INSERT INTO tbl_luonggiangvien(f_hovaten,f_diengiai,f_sotien,f_ngay) VALUES ('$f_hovaten','$f_diengiai','$f_sotien','$f_ngay')";
$a=mysql_query($sql);
echo $sql;
			if($a)
			{
			echo 'Thanh cong';
			}else{
			echo 'Khong thanh cong';
			}
		}
	}
?>